Automattic\WCShipping\Checkout\CheckoutService S

Total Complexity 45
Dependencies 12
Dependents 4
Total lines 372
Lines of code 183
Logical lines of code 109
Comment lines 112
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
validate_shipping_address()
B
37 15 75
maybe_fill_missing_shipping_address_data()
A
51 9 26
get_cart_customer_instance()
S
63 3 11
is_checkout_page()
S
79 2 3
is_classic_checkout()
S
78 2 3
set_destination_normalized_session_var()
S
71 2 6
get_destination_normalized_session_value()
S
71 2 6
get_cart_shipping_address()
S
66 2 9
get_cart_instance()
S
67 2 8
get_suggested_address_store_notice()
S
59 1 13
__construct()
S
81 1 3
get_checkout_script_data()
S
68 1 7
get_checkout_settings()
S
70 1 6
is_address_validation_enabled()
S
75 1 4
cache_address_validation_response()
S
78 1 3